Skip to main content

DescribeIpv6Addresses

Description

call DescribeIpv6Addresses interface to query IPv6 address list.

Request Method

POST

Request Path

/apsara/route/Vpc/DescribeIpv6Addresses

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
PageSizeBODYintegerNo10The number of rows per page during paging query, the maximum value is 50, and the default value is 10.
VSwitchIdBODYstringNovsw-123456nhmj****switch ID where the IPv6 address is located.
versionBODYstringNo2016-01-01version of api
NameBODYstringNotestthe name of the IPv6 address.
AssociatedInstanceIdBODYstringNoi-123456nhmj****instance ID associated with IPv6 address.
VpcIdBODYstringNovpc-123456nhmj****VPC ID where the IPv6 address is located.
PageNumberBODYintegerNo1The page number of the list, the default value is 1.
regionIdBODYstringYesNo sample value for this parameter.region id
NetworkTypeBODYstringNoPubliccommunication capability type of IPv6 address, value: Private: private network communication type. public : public network communication type.
Ipv6AddressIdBODYstringNoipv6gw-hp33of4uz4k4knhmj****ID of IPv6 address instance. You can enter up to 20 instance IDs for each call, separated by commas (,).
RegionIdBODYstringYescn-huhehaotethe region ID where the IPv6 address is located. You can obtain the region ID by calling the DescribeRegions interface.
Ipv6InternetBandwidthIdBODYstringNo1public network bandwidth of IPv6 address.
AssociatedInstanceTypeBODYstringNoEcsInstanceThe instance type associated with the IPv6 address, value: EcsInstance(default): ECS of VPC type.
Ipv6AddressBODYstringNo2408:xxxx:180:1701:94c7:bc38:3bfa:d2cIPv6 address to query.

Return data

NameTypeSample valueDescription
StatusstringAvailableIPv6 address status, value: Pending: in configuration. Available: available.
PageSizeinteger10The number of rows per page during paging query, the maximum value is 50, and the default value is 10.
RequestIdstringAA4486A8-B6AE-469E-AB09-820EF8ECFA2Brequest ID.
VSwitchIdstringvsw-hp3123456nhmj****ID of the switch where the IPv6 address is located.
Ipv6GatewayIdstringipv6gw-hp38x2x0fz7nhmj****the IPv6 gateway ID of the IPv6 address.
Ipv6AddressesNo sample value for this parameter.IPv6 address details.
BusinessStatusstringNormalcommercial status of exclusive bandwidth of IPv6 address, value: Normal: normal. FinacialLocked: overdue lock. SecurityLocked: security lock.
AllocationTimestring2018-12-20T14:56:09ZIPv6 address creation time.
Ipv6InternetBandwidthNo sample value for this parameter.public network bandwidth information of IPv6 address.
TotalCountinteger2Number of entries in the list.
AssociatedInstanceIdstringi-hp325kt6307nhmj****instance ID associated with IPv6 address.
VpcIdstringvpc-123456nhmj****VPC ID where the IPv6 address is located.
PageNumberinteger1The page number of the list, the default value is 1.
NetworkTypestringPubliccommunication capability type of IPv6 address, value: Private: private network communication type. public : public network communication type.
Bandwidthinteger2Exclusive public network bandwidth of IPv6 address, unit Mbps.
Ipv6AddressIdstringipv6-hp32vv2klzw4nhmj****instance ID of IPv6 address.
Ipv6InternetBandwidthIdstringipv6bw-hp3b35oq1fj5nhmj****public network bandwidth ID.
AssociatedInstanceTypestringEcsInstancethe instance type associated with the IPv6 address.
Ipv6Addressstring2408:xxxx:0:2900:2901:3c61:9ff0:xxxxIPv6 address.
Ipv6AddressNamestringtestthe instance name of the IPv6 address.

Example

Successful Response example

{
"Status":"Available",
"PageSize":"10",
"RequestId":"AA4486A8-B6AE-469E-AB09-820EF8ECFA2B",
"VSwitchId":"vsw-hp3123456nhmj****",
"Ipv6GatewayId":"ipv6gw-hp38x2x0fz7nhmj****",
"Ipv6Addresses":"",
"BusinessStatus":"Normal",
"AllocationTime":"2018-12-20T14:56:09Z",
"Ipv6InternetBandwidth":"",
"TotalCount":"2",
"AssociatedInstanceId":"i-hp325kt6307nhmj****",
"VpcId":"vpc-123456nhmj****",
"PageNumber":"1",
"NetworkType":"Public",
"Bandwidth":"2",
"Ipv6AddressId":"ipv6-hp32vv2klzw4nhmj****",
"Ipv6InternetBandwidthId":"ipv6bw-hp3b35oq1fj5nhmj****",
"AssociatedInstanceType":"EcsInstance",
"Ipv6Address":"2408:xxxx:0:2900:2901:3c61:9ff0:xxxx",
"Ipv6AddressName":"test"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}